/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package common.model.message;

import common.model.Visitor;

/**
 *
 * @author nicolas
 */
public class GuideMessage extends AbstractVisitorBasedMessage {

    //----Variables declarations----
    //want to be guide = true or don't want = false
    protected boolean wantedGuide = false;

    public GuideMessage(Visitor visitor, boolean wantedGuide) {
        super(visitor);
        this.wantedGuide = wantedGuide;
    }

    @Override
    public String messageToString() {
        return "GUIDE " + this.getVisitor().getUserName() + " " + this.wantedGuide;
    }

}
